|
|
|
| TABLE 8.1. DATA ELEMENTS THAT CAN BE INCLUDED IN THE APPLICATION DATABASE. | | Name | Type | | First Name | String | | Last Name | String | | Spouse Name | String | | Child Name | String | | Address | String | | City | String | | State | String | | ZIP | Integer | | E-mail Address | String | | Phone | Long | | Birth Date | Date | | Notes | String |
|
|
|
|
|
|
This list is pretty straightforward, but look more closely at it. It has elements such as phone number and birth date. Can't person have more than one phone number? Or, if you're allowing users to enter the names of the person's spouse and children, you could have more than one birth date to enter. When the tables for this database are created, you'll need to design the capability to handle multiple copies of these types of elements. How do you want users to see the information? This section of the application will require the following forms: |
|
|
|
|
|
|
|
|
Although only two forms are involved with the data entry and display, each form performs quite a bit of processing. The first form gives users an easy way of entering information. Depending on how fancy you want to get, you could create a form that uses many of the more advanced Visual Basic controls. Figure 8.2 shows an example of this entry form. Notice that this form allows users to select from a list of phone number types to enter a number in. A similar approach is used for entering child and spouse information. |
|
|
|
|
|